package com.google.shop.product.vo.member;

import javax.validation.constraints.NotEmpty;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/member/BuyerInfoVO.class */
public class BuyerInfoVO {
    @NotEmpty(message = "邮箱不能为空")
    private String buyerEmail;
    @NotEmpty(message = "密码不能为空")
    private String buyerPassword;

    public void setBuyerEmail(String buyerEmail) {
        this.buyerEmail = buyerEmail;
    }

    public void setBuyerPassword(String buyerPassword) {
        this.buyerPassword = buyerPassword;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof BuyerInfoVO)) {
            return false;
        }
        BuyerInfoVO other = (BuyerInfoVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$buyerEmail = getBuyerEmail();
        Object other$buyerEmail = other.getBuyerEmail();
        if (this$buyerEmail == null) {
            if (other$buyerEmail != null) {
                return false;
            }
        } else if (!this$buyerEmail.equals(other$buyerEmail)) {
            return false;
        }
        Object this$buyerPassword = getBuyerPassword();
        Object other$buyerPassword = other.getBuyerPassword();
        return this$buyerPassword == null ? other$buyerPassword == null : this$buyerPassword.equals(other$buyerPassword);
    }

    protected boolean canEqual(Object other) {
        return other instanceof BuyerInfoVO;
    }

    public int hashCode() {
        Object $buyerEmail = getBuyerEmail();
        int result = (1 * 59) + ($buyerEmail == null ? 43 : $buyerEmail.hashCode());
        Object $buyerPassword = getBuyerPassword();
        return (result * 59) + ($buyerPassword == null ? 43 : $buyerPassword.hashCode());
    }

//    public String toString() {
//        return "BuyerInfoVO(buyerEmail=" + getBuyerEmail() + ", buyerPassword=" + getBuyerPassword() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public BuyerInfoVO(String buyerEmail, String buyerPassword) {
        this.buyerEmail = buyerEmail;
        this.buyerPassword = buyerPassword;
    }

    public String getBuyerEmail() {
        return this.buyerEmail;
    }

    public String getBuyerPassword() {
        return this.buyerPassword;
    }
}
